home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
AutoFX
/
Add.ifx.pre
< prev
next >
Wrap
Text File
|
1996-03-02
|
593b
|
26 lines
/*
* Add.ifx.pre
* Get alpha and scale flags for the
* Add command. Saves the settings into the
* ImpAddParameters clip variable.
*
* by Steve Tibbett
*/
Options Results
Defaults=GetClip("ImpAddParameters"arg(1));
if (Defaults="") then Defaults="0 1"
Parse Var Defaults AlphaFlag ScaleFlag
Gadget.1 = 'X/25/17/Use alpha channel as blend control image?/'AlphaFlag
Gadget.2 = 'X/25/29/Scale swap buffer to fit region?/'ScaleFlag
ComplexRequest '"Add Settings"' 5 Gadget 400 63
IF rc ~= 0 THEN return 10
Defaults=Result.1 Result.2
call SetClip("ImpAddParameters"arg(1), Defaults);